import re
import ast
import os
from setuptools import setup

with open('flask_cookies/__init__.py') as f:
    ver = re.search('__version__\s*=\s*(.*)', f.read().decode('utf8')).group(1)
    version = str(ast.literal_eval(ver))


setup(
    name='flask_cookies',
    version=version,
    packages=['flask_cookies',],
    install_requires=[],
    include_package_data=True
)